
package com.example.testsvn;

import java.util.ArrayList;

/**
 * Bean rappresentante la mail
 *
 * @author gdantimi
 */
public class EMail {

    public Integer username;
    private String user;
    private String password;
    private String mailhost;
    private String port;
    private String subject;
    private String body;
    private String sender;
    private String from;
    private String recipients;
    private ArrayList<String> attachments;
    //TODO Allegato

    public EMail() {
    }

    /**
     * Ritorna
     *
     * @return user
     */
    public String getUser() {
        return user;
    }

    /**
     * Imposta
     *
     * @param user il user da impostare
     */
    public void setUser(String user) {
        this.user = user;
    }

    /**
     * Ritorna
     *
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * Imposta
     *
     * @param password il password da impostare
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * Ritorna
     *
     * @return mailhost
     */
    public String getMailhost() {
        return mailhost;
    }

    /**
     * Imposta
     *
     * @param mailhost il mailhost da impostare
     */
    public void setMailhost(String mailhost) {
        this.mailhost = mailhost;
    }

    /**
     * Ritorna
     *
     * @return subject
     */
    public String getSubject() {
        return subject;
    }

    /**
     * Imposta
     *
     * @param subject il subject da impostare
     */
    public void setSubject(String subject) {
        this.subject = subject;
    }

    /**
     * Ritorna
     *
     * @return body
     */
    public String getBody() {
        return body;
    }

    /**
     * Imposta
     *
     * @param body il body da impostare
     */
    public void setBody(String body) {
        this.body = body;
    }

    /**
     * Ritorna
     *
     * @return sender
     */
    public String getSender() {
        return sender;
    }

    /**
     * Imposta
     *
     * @param sender il sender da impostare
     */
    public void setSender(String sender) {
        this.sender = sender;
    }

    /**
     * Ritorna
     *
     * @return from
     */
    public String getFrom() {
        return from;
    }

    /**
     * Imposta
     *
     * @param from il from da impostare
     */
    public void setFrom(String from) {
        this.from = from;
    }

    /**
     * Ritorna
     *
     * @return recipients
     */
    public String getRecipients() {
        return recipients;
    }

    /**
     * Imposta
     *
     * @param recipients il recipients da impostare
     */
    public void setRecipients(String recipients) {
        this.recipients = recipients;
    }

    /**
     * Ritorna
     *
     * @return attachments
     */
    public ArrayList<String> getAttachments() {
        return attachments;
    }

    /**
     * Imposta
     *
     * @param attachments il attachments da impostare
     */
    public void setAttachments(ArrayList<String> attachments) {
        this.attachments = attachments;
    }

    /**
     * Ritorna
     *
     * @return port
     */
    public String getPort() {
        return port;
    }

    /**
     * Imposta
     *
     * @param port il port da impostare
     */
    public void setPort(String port) {
        this.port = port;
    }


}
